<template>
	<text v-if="data" class="inline-flex center px-4 py-2 radius-4 border-primary color-primary fs-10 font-normal">满{{data.num}}件{{data.discount}}折</text>
</template>

<script setup name="FullDiscountTag">
	const props = defineProps({
		data: {
			type: Object,
			required: true
		}
	})
</script>